home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 42
/
Freelog042.iso
/
Bas
/
Jeux
/
BallBreaker
/
BallBreaker[1].swf
/
scripts
/
frame_5
/
DoAction.as
Wrap
Text File
|
2003-01-12
|
1KB
|
39 lines
if("395" < getProperty("/Halo1", _X))
{
Direction1X5 = - Direction1X5;
}
else if(getProperty("/Halo1", _X) < "83")
{
Direction1X5 = - Direction1X5;
}
if("395" < getProperty("/Halo2", _X))
{
Direction2X6 = - Direction2X6;
}
else if(getProperty("/Halo2", _X) < "83")
{
Direction2X6 = - Direction2X6;
}
if("339" < getProperty("/Halo3", _X))
{
Direction3X7 = - Direction3X7;
}
else if(getProperty("/Halo3", _X) < "136")
{
Direction3X7 = - Direction3X7;
}
if("339" < getProperty("/Halo4", _X))
{
Direction4X8 = - Direction4X8;
}
else if(getProperty("/Halo4", _X) < "136")
{
Direction4X8 = - Direction4X8;
}
setProperty("/Halo1", _X, getProperty("/Halo1", _X) + Direction1X5);
setProperty("/Halo2", _X, getProperty("/Halo2", _X) + Direction2X6);
setProperty("/Halo3", _X, getProperty("/Halo3", _X) + Direction3X7);
setProperty("/Halo4", _X, getProperty("/Halo4", _X) + Direction4X8);
setProperty("/Halo5", _X, getProperty("/Halo5", _X) + Direction1X5);
setProperty("/Halo6", _X, getProperty("/Halo6", _X) + Direction2X6);